ngl: Fix offscreen rendering with transforms
authorMatthias Clasen <mclasen@redhat.com>
Wed, 31 Mar 2021 18:36:24 +0000 (14:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 31 Mar 2021 18:36:24 +0000 (14:36 -0400)
commitf9457af128012fd3935a69fdcefb722df3ad189c
treee365d8c50555ffb647875b251372288ed283c4ea
parent94f0a4ef2c6cd583f4ef48e39f4b022f7b3d28b3
ngl: Fix offscreen rendering with transforms

There was confusion here about the handling of the
modelview transform. The modelview transform we are
getting is already set up for rendering the node
we are given, so keep it - except for possible adding
an extra scale on top when the texture would otherwise
be too big.
gsk/ngl/gsknglrenderjob.c